/*
 * @Author: zsc
 * @Date: 2022-06-13 21:56:52
 * @LastEditors: zsc
 * @LastEditTime: 2022-07-17 12:30:32
 * @Description:
 */
/**
 * ======================================
 *   社会面调查管理
 * author: SKY-D
 * file: floating.js
 * date: 2022/6/12 13:09
 * ======================================
 */
import Layout from '@/layout'

const pre = 'floating'
const router = {
  path: '/' + pre,
  component: Layout,
  redirect: '/floating/list',
  name: pre,
  meta: {
    title: '社会面调查管理',
    icon: 'el-icon-ly-a-iconliudongrenkou',
    permissions: ['FLOW_PERSON']
  },
  children: [
    {
      path: 'list',
      component: () => import('@/views/floating/list'), // Parent router-view
      name: pre + 'list',
      meta: {
        title: '社会面调查列表',
        permissions: ['FLOW_PERSON']
      }
    },
    {
      path: 'visitor',
      component: () => import('@/views/floating/visitor'), // Parent router-view
      name: pre + 'visitor',
      meta: {
        title: '访客管理',
        permissions: ['FLOW_PERSON']
      }
    }
  ]
}

export default router
